package com.szl.sbssh.jpa;

import com.szl.sbssh.core.JpaRepository;
import com.szl.sbssh.model.Tuser;

import java.util.List;

/**
 * Author: songzhonglin
 * Date: 2018/4/17
 * Time: 9:44
 * Description:
 **/
public interface UserRepository extends JpaRepository<Tuser,Long> {
    public List<Tuser> findByLoginnameAndPassword(String loginname, String password);

    public Tuser findByLoginname(String loginname);
}
